package com.sphd.emanu.pojo.material;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TMtBase implements Serializable{
    private Integer id;

    private String name;

    private Integer product;

    private String code;

    private String model;

    private String specifications;

    private Integer category;

    private String source;

    private BigDecimal unitPrice;

    private String unit;

    private BigDecimal netWeight;

    private Long minimumPurchase;

    private BigDecimal lastUnitPrice;

    private Integer lastProvider;

    private String lastProviderName;

    private Boolean isWaring;

    private Boolean isIgnore;

    private String memo;

    private Integer creator;

    private String createName;

    private Date createDate;

    private Integer updator;

    private String updateName;

    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getProduct() {
        return product;
    }

    public void setProduct(Integer product) {
        this.product = product;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications == null ? null : specifications.trim();
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public Long getMinimumPurchase() {
        return minimumPurchase;
    }

    public void setMinimumPurchase(Long minimumPurchase) {
        this.minimumPurchase = minimumPurchase;
    }

    public BigDecimal getLastUnitPrice() {
        return lastUnitPrice;
    }

    public void setLastUnitPrice(BigDecimal lastUnitPrice) {
        this.lastUnitPrice = lastUnitPrice;
    }

    public Integer getLastProvider() {
        return lastProvider;
    }

    public void setLastProvider(Integer lastProvider) {
        this.lastProvider = lastProvider;
    }

    public String getLastProviderName() {
        return lastProviderName;
    }

    public void setLastProviderName(String lastProviderName) {
        this.lastProviderName = lastProviderName == null ? null : lastProviderName.trim();
    }

    public Boolean getIsWaring() {
        return isWaring;
    }

    public void setIsWaring(Boolean isWaring) {
        this.isWaring = isWaring;
    }

    public Boolean getIsIgnore() {
        return isIgnore;
    }

    public void setIsIgnore(Boolean isIgnore) {
        this.isIgnore = isIgnore;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName == null ? null : createName.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdator() {
        return updator;
    }

    public void setUpdator(Integer updator) {
        this.updator = updator;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName == null ? null : updateName.trim();
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}